<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript">
$(function() {
	//fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						${title}
						<div class="tools-btn">
							<a href="javascript:" id="fullScreen"
								onclick="javascript: history.back();"><span> <img
										src="${path}/statics/images/Redo.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />返 回</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">

						<!-- 查詢列表 -->
						<div id="mylist" style="height: 365px; overflow: scroll;"
							class="dlist" width="100%">
							<table id="mytable"  border="0" cellspacing="0"
								cellpadding="10" class="dg_borderstyle trStyleTable">
								<c:if test="${optype=='spe'}">
									<tr>
										<th>
											<span>序号</span>
										</th>
										<th>
											<span>姓名</span>
										</th>
										<th>
											<span>加扣款项目</span>
										</th>
										<th>
											<span>金额</span>
										</th>
										<th>
											<span>摘要</span>
										</th>
									</tr>
									<c:forEach items="${pagination.resultList}" var="list">
										<tr>
											<td>
												<span>${list.ROWINDEX}</span>
											</td>
											<td>
												<span>${list.AGENTNAME}</span>
											</td>
											<td>
												<span>${list.SPECIALFUNDNAME}</span>
											</td>
											<td>
												<span>${list.SPECFUNDAMOUNT}</span>
											</td>
											<td>
												<span>${list.ABSTRACT}</span>
											</td>
										</tr>
									</c:forEach>
								</c:if>
								<c:if test="${optype=='tra'||optype=='rec'}">
									<tr>
										<th>
											<span>序号</span>
										</th>
										<th>
											<span>姓名-职级</span>
										</th>
										<th>
											<span>个人FYB</span>
										</th>
										<th>
											<span>直辖组FYB</span>
										</th>
										<th>
											<span>直辖处FYB</span>
										</th>
										<th>
											<span>直辖团队FYB</span>
										</th>
										<th>
											<span>费率</span>
										</th>
										<th>
											<span>金额</span>
										</th>
									</tr>
									<c:forEach items="${pagination.resultList}" var="list">
										<tr>
											<td>
												<span>${list.ROWINDEX}</span>
											</td>
											<td>
												<span>${list.AGENTINFO}</span>
											</td>
											<td>
												<span>${list.FYB}</span>
											</td>
											<td>
												<span>${list.GROUPFYB}</span>
											</td>
											<td>
												<span>${list.DEPTFYB}</span>
											</td>
											<td>
												<span>${list.TEAMFYB}</span>
											</td>
											<td>
												<span>${list.PAYAMT}</span>
											</td>
											<td>
												<span>${list.PAYAMT}</span>
											</td>
										</tr>
									</c:forEach>
								</c:if>
							</table>
						</div>
						<c:if test="${not empty pagination.multiPage}">
							<div class="dg_pagerstyle">
								<div class="pageinfo">
									第${pagination.page }页 | 共${pagination.totalPages
									}页/${pagination.totalRows }条记录
								</div>

								<div class="pagebtn">
									${pagination.multiPage}
								</div>
							</div>
						</c:if>
					</div>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>